package com.bank.user.util;

import com.bank.model.entity.UserAccount;
import com.bank.user.mapper.*;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author Cejay1314
 * @version 1.0
 * @create 2023/2/17 18:03
 */


@Component
@Getter
public class MapperFactory {
    @Autowired
    UserMapper userMapper;
    @Autowired
    RoleMapper roleMapper;
    @Autowired
    UserRoleMapper userRoleMapper;
    @Autowired
    RolePermissionMapper rolePermissionMapper;
    @Autowired
    PermissionMapper permissionMapper;
    @Autowired
    AccountMapper accountMapper;
    @Autowired
    UserAccountMapper userAccountMapper;
}
